package com.chixing.day20.day20_Home;

public class Person {
    private String perName;
    private int  perage;

    public Person() {
    }

    public Person(String perName, int perage) {
        this.perName = perName;
        this.perage = perage;
    }

    public String getPerName() {
        return perName;
    }

    public void setPerName(String perName) {
        this.perName = perName;
    }

    public int getPerage() {
        return perage;
    }

    public void setPerage(int perage) {
        this.perage = perage;
    }

    @Override
    public String toString() {
        return "Person{" +
                "perName='" + perName + '\'' +
                ", perage=" + perage +
                '}';
    }
}
